package com.gzist.elderlyserviceplatform.entity.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 登录接口DTO
 */
@Schema(name = "LoginDTO" , description = "登录接口参数" )
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LoginDTO implements Serializable {

    @Schema(accessMode = Schema.AccessMode.READ_ONLY)
    private static final long serialVersionUID = 1L;

    @Schema(description = "登录账号" )
    private String username;
    @Schema(description = "密码" )
    private String password;
    @Schema(description = "用户角色" )
    private String role;
    @Schema(description = "是否记住" )
    private boolean isRemember;
}
